package com.ruoyi.project.registration.service.impl;

import com.ruoyi.project.registration.domain.RegDisease;
import com.ruoyi.project.registration.mapper.RegCheckMapper;
import com.ruoyi.project.registration.mapper.RegDiseaseMapper;
import com.ruoyi.project.registration.mapper.RegDrugMapper;
import com.ruoyi.project.registration.service.RegDiseaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegDiseaseServiceImpl implements RegDiseaseService {
    @Autowired
    private RegDiseaseMapper regDiseaseMapper;
    @Autowired
    private RegCheckMapper regCheckMapper;
    @Autowired
    private RegDrugMapper regDrugMapper;

    @Override
    public int insertRegDisease(RegDisease regDisease) {

        return regDiseaseMapper.insert(regDisease);
    }
}
